<script setup>
import store from '@/utils/store.js'
import MetaTable from "@/components/MetaTable.vue"

const data = store.templateEngineData

const cols = [
  {type: 'link' , label: '名称', prop: 'name', width: 180},
  {type: 'icon' , label: '语言', prop: 'lang', width: 110},
  {type: 'input', label: '说明', prop: 'info'},
  {type: 'code' , label: '示例', prop: 'sample', width: 100},
]

</script>

<template>
  <meta-table :data :cols show-code color-property="lang"/>
</template>